package com.estun.backroundManagementService.modules.material.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.estun.backroundManagementService.domain.BaseResponse;
import com.estun.backroundManagementService.domain.factoryMes.request.ManualMaterialCallingRequest;
import com.estun.backroundManagementService.modules.material.model.Material;

public interface MaterialService extends IService<Material> {

    BaseResponse sync();

    BaseResponse bind(String assemblyMaterialSn, String materialType, String snNumber, String opCode);

    /**
     * @param materialCode 物料号
     * @return 第一个匹配的物料
     */
    Material getFirstOneByCode(String materialCode);

    void agv(String stateCode, String toPointCode);
}
